.homeGoods {
    .top {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        margin-top: 15px;

        div {
            display: flex;
            justify-content: space-between;
            font-size: 16px;
            align-items: center;

            p {
                margin-left: 100px;
                color: #888;
            }

            span {
                color: #000;
                padding: 10px;

                &:hover {
                    color: #fff;
                    background: #27ba9b;
                    padding: 2px 8px;
                    box-sizing: border-box;
                    border-radius: 5px;
                }
            }
        }
    }

    .pic {
        display: flex;

        .left {
            width: 350px;
            height: 610px;
            flex-shrink: 0;
            position: relative;

            img {
                width: 100%;
                height: 100%;
            }

            div {
                position: absolute;
                color: #fff;
                text-align: center;
                left: 0;
                top: 48%;
                font-size: 18px;
                font-weight: 700;
                display: flex;

                p:first-child {
                    padding: 20px 15px;
                    background: #000;
                }

                p:last-child {
                    background: rgba(0, 0, 0, .3);
                    padding: 20px 15px;

                }
            }
        }

        .right {
            display: flex;
            flex-wrap: wrap;
            margin-left: 20px;
            border-bottom: 1px solid #27ba9b;

            div {
                width: 23%;
                margin-right: 10px;
                padding: 2.5%;
                height: 300px;
                margin-bottom: 5px;
                position: relative;
                border: rgba(39, 187, 154, 0) 1px solid;
                transition: all .3s;

                &:hover {
                    border: rgba(39, 187, 154, 1) 1px solid;

                    .mask {
                        transition: all .3s linear;
                        opacity: 1;
                        height: 30%;
                        transform: scaleY(1);
                        border: 1px solid transparent;
                        text-align: center;
                        color: #fff;

                        b {
                            font-size: 20px;
                            margin-bottom: 8px;
                            font-weight: none;
                            display: inline-block;
                        }

                        span {
                            font-size: 15px;
                            border-top: 1px solid #fff;
                            padding: 5px 10px;
                        }
                    }
                }

                img {
                    width: 85%;
                    margin-left: 5%;
                    height: 50%;
                }

                .name {
                    font-size: 15px;
                    margin: 0;
                    padding: 0;
                }

                .desc {
                    color: #888;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    width: 174px !important;
                }

                .price {
                    color: red;
                    font-size: 20px;
                    margin: 0;
                }

                .mask {
                    // display: none;
                    position: absolute;
                    background: #27ba9b;
                    height: 30%;
                    bottom: 0;
                    left: 0;
                    width: 100%;
                    margin: 0;
                    transform: scaleY(0);
                    opacity: 0;
                    transform-origin: bottom;
                }
            }
        }
    }
}